package cn.edu.cqyz.wisdom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 每⽇问题⼩科普表
 * </p>
 *
 * @author CDHong.it
 * @since 2024-12-18
 */
@Getter
@Setter
@TableName("tbl_learning")
public class Learning implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 科普ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 问题内容
     */
    @TableField("learning_content")
    private String learningContent;

    /**
     * 回答
     */
    @TableField("learning_qa_content")
    private String learningQaContent;
}
